home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 7 / developer source - volume 7.iso / exepc / jun95 / jewe13.gif < prev    next >
Graphics Interchange Format  |  1997-01-13  |  71KB  |  711x674  |  4-bit (16 colors)
Labels: text | screenshot | number | font | display
OCR: Elle,Edit View Tools Window Help O MAIN MENU D READER TIPS + D INTRODUCTION D Manual conventions D Contacting Borlans Delphi Library Reference D Delphi Visual Component Lawar D Library reference D Samnie entry D DELPHI UBRARY REFERENCE Abort method DA Applies to TPrinfer object LAAAAAAAAAAAAAAALARA DE Declaration DH procedure Abort: DK DL The Abort procedure terminates the printing of a printjob, dropping all unprinted data. The device is then set for the next print job. Use Abort to terminate the print job before it DN completes; otherwise, use the End Doc method. DO D To use the Aborf method, you must add the Printers unit to the uses cause of your unit. Example The following code aborts a print job if the user pressesf sc. Note that you should set KeyPreview to True to ensure that the Onkey Down event handler of Font is called. DV DW procedure Troll.YouKeyDown(Sender: 1Object; var Key: Word: DZ Shift: TshiftStato) : D INDEX begin if (Key=VE BachPE) and Printor.Printing Chen Pristar. Abort: end; See also BeginDoc method, BadDoc method, Printer variable, Printing property 16:58 x9.6915 Figure 3 - The infamous Acrobat reader - at the time of writing, it's the only way of viewing the forthcoming Object Pascal and VCL Reference manuals. Windows / NT users need not apply ...